package old;

/**
 * Created by IntelliJ IDEA.
 * User: zm
 * Date: 2023/4/9
 */
public class Car {
    private Framework framework;

    public Car(){
        framework = new Framework();
    }
    public void init(){
        System.out.println("执行了framework执行方法");
        //依赖车身
        framework.init();
    }
}
